#include "stdafx.h"
#include "action.h"


using namespace std;

namespace remjob {

	////////////////////////////////////////
	//metodi di logger
	void Logger::log(string message){}
	string Logger::getLog(){return "";}

	////////////////////////
	// metodi di action

	string Action::getLog(){return logger.getLog();}

	//////////////////////////
	//metodi di receive udp
	ReceiveUDP::ReceiveUDP(Packet *p){}
	ReceiveUDP::~ReceiveUDP(){}
	void ReceiveUDP::run(){}
	string ReceiveUDP::getFilename(){return "";}

	//////////////////////////
	//metodi di ReceiveTCP
	ReceiveTCP::ReceiveTCP(Packet *p, Socket *s): ReceiveUDP(p){}
	ReceiveTCP::~ReceiveTCP(){}
	void ReceiveTCP::run(){}


	//////////////////////////
	// metodi di commnad listener
	CommandListener::CommandListener(command_handler handler){}
	CommandListener::~CommandListener(){}

	void CommandListener::run(){}
	//////////////////////////
	//metodi di SendUDP commnad
	SendUDPCommand::SendUDPCommand(Packet *p){}
	SendUDPCommand::~SendUDPCommand(){}
	void SendUDPCommand::run(){}

	///////////////////////
	//metodi di discovery

	Discovery::Discovery(Packet *p,discovery_handler handler) :SendUDPCommand(p){}
	Discovery::~Discovery(){}
	void Discovery::run(){}
	////////////////////////////
	//metodi di sendTCPCommand

	SendTCPCommand::SendTCPCommand(Packet *p, list<u_int> destinatari):SendUDPCommand(p){}
	SendTCPCommand::~SendTCPCommand(){}
	void SendTCPCommand::run(){}

	/////////////////////////
	//metodi di sendfileUDP

	SendFileUDP::SendFileUDP(Packet *p, string filename){}
	SendFileUDP::~SendFileUDP(){}
	void SendFileUDP::run(){}

	////////////////////////////////
	//metodi di sendfiletcp

	SendFileTCP::SendFileTCP(Socket *s, string filename) : SendFileUDP(p, filename){}
	SendFileTCP::~SendFileTCP(){}
	void SendFileTCP::run(){}
}